package com.scujcc;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/saves")

public class controller {


    @Value("${contry}")
    private String contry;

    @GetMapping
    public String save(){

        System.out.println(contry);
        return "save is running....";
    }
}
